In [1]:
%matplotlib inline
from matplotlib import pyplot as plt
import numpy as np
In [2]:
fname = 'proj_bias_hist_idx_000_box_000.npy'
In [3]:
im_list = np.load(fname)
print im_list.shape
In [4]:
fname2 = 'full_proj_box_000.npy'#'full_bias_hist_idx_000_box_000.npy'
In [5]:
particle_box = np.load(fname2)
In [6]:
particle_box.shape
Out[6]:
In [7]:
np.max(particle_box), np.min(particle_box)
Out[7]:
In [11]:
particle_box.shape
Out[11]:
In [9]:
from matplotlib.colors import LogNorm
#norm = LogNorm(vmin = particle_box.min(), vmax = particle_box.max())
In [10]:
img = plt.imshow(particle_box[:,:,0] - particle_box.min() + 1e-6, norm = LogNorm(vmin = 1e-6, vmax = particle_box.max()-particle_box.min()))
plt.colorbar(img)
Out[10]:
In [ ]: